//
//  TravelTopicDetailsModel.m
//  ToWhere
//
//  Created by dllo on 15/11/15.
//  Copyright © 2015年 www.TE.com. All rights reserved.
//

#import "TravelTopicDetailsModel.h"

@implementation TravelTopicDetailsModel

-(void)dealloc
{
    [_image_height release];
    [_image_width release];
    [_image_url release];
    [_DES release];
    [_description_user_ids release];
    [_title release];
    [_note release];
    [super dealloc];
}


-(instancetype)initWithNSDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    
    return self;
}

+(TravelTopicDetailsModel *)travelTopicDetailModelinitWithNSDictionary:(NSDictionary *)dic
{
    TravelTopicDetailsModel *model = [[TravelTopicDetailsModel alloc]initWithNSDictionary:dic];
    
    return [model autorelease];
    
}






-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        
        self.DES = value;
        
    }

    
    
    
}
@end
